<?php
class MY_Email extends CI_Email {
	
	public function __construct($config = array()) {
		parent::__construct($config);
	}
	
	public function send_email($from, $to, $subject, $message) {
		$this->from($from);
		$this->to($to);
		$this->subject($subject);
		$this->message($message);
		$this->send();
	}
}